import { defineStore } from "pinia";
import type { BannerState } from "~/types/banner";

export const useBannerStore = defineStore("banners", () => {
  const banners = reactive<BannerState[]>([]);
  // 向外暴露的状态和方法
  return {
    banners,
    // 其它方法...
  };
});
